/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

 

#ifndef OssModel_h
#define OssModel_h

@interface Bucket :NSObject

/// Name
@property (strong,nonatomic,nonnull)  NSString*  name;

/// CreationDate
@property (strong,nonatomic,nonnull)  NSString*  creationDate;


-(id) initWithName:(NSString*) name
    creationDate:(NSString*)creationDate;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface User :NSObject

/// Id
@property (strong,nonatomic,nonnull)  NSString*  idValue;

/// DisplayName
@property (strong,nonatomic,nonnull)  NSString*  displayName;


-(id) initWithId:(NSString*) idValue
    displayName:(NSString*)displayName;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ListBucketResult :NSObject

/// Owner
@property (strong,nonatomic,nonnull)  User*  owner;

/// Buckets
@property (strong,nonatomic,nonnull)  NSArray<Bucket*>*  buckets;


-(id) initWithOwner:(User*) owner
    buckets:(NSArray<Bucket*>*)buckets;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end

#endif /* OssModel_h */
